
import { createApp } from "vue";
import App from "./App.vue";
import GlobalComponents from "./globalComponents";
// import GlobalComponents from "./globalComponents/main";
// import "@/assets/iconfont/index.scss";
import "@/assets/iconfont/iconfont.css";



async function init() {
    const app = createApp(App);
    const commonComponents = await GlobalComponents();
    // 注册全局组件 
    app.use(commonComponents); 

    // 挂载
    app.mount("#app");
}

init();